package com.bytedance.common.b;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Build;
import android.os.Looper;

public final class a {
    class a$a {
        a$a() {

        }

        public void a(LocationManager arg1, String arg2, LocationListener arg3, Looper arg4) {
        }
    }

    @TargetApi(value=11) final class b extends a$a {
        b() {

        }

        @SuppressLint("MissingPermission")
        public final void a(LocationManager arg1, String arg2, LocationListener arg3, Looper arg4) {
            arg1.requestSingleUpdate(arg2, arg3, arg4);
        }
    }

    private static a$a a;

    {
        a = Build.VERSION.SDK_INT >= 9 ? new b() : new a$a();
    }

    public static void a(LocationManager arg1, String arg2, LocationListener arg3, Looper arg4) {
        a.a(arg1, arg2, arg3, arg4);
    }
}

